package com.wangba.dao;

import com.wangba.pojo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MemberMapper {
    int addMember(Member member);
    int deleteMemberById(@Param(value = "memberID") int id);
    int updateMember(Member book);
    Member queryMemberById(@Param(value = "memberID") int id);
    List<Member> queryAllMember();
    Member queryMemberByName(@Param(value = "memberName") String memberName);
}